/*
 * Contains Subject Class
 */
package student_report;

/**
 * SUBJECTS table java representation
 * @author Alexey Akimov <frinatella@gmail.com>
 */
public class Subject {

    /**
     * Constructor
     * @param subjectId subject identificator
     * @param subjectName subject name
     */
    public Subject(int subjectId, String subjectName) {
        this.subjectId = subjectId;
        this.subjectName = subjectName;
    }
    
    /**
     * Subject identificator
     */
    private int subjectId;

    /**
     * Getter
     * @return subject identificator
     */
    public int getSubjectId() {
        return subjectId;
    }

    /**
     * Setter
     * @param subjectId subject identificator
     */
    public void setSubjectId(int subjectId) {
        this.subjectId = subjectId;
    }
    
    /**
     * Subject name
     */
    private String subjectName;

    /**
     * Getter
     * @return subject name
     */
    public String getSubjectName() {
        return subjectName;
    }

    /**
     * Setter
     * @param subjectName subject name
     */
    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }
    
}
